package com.itcast.Extands;

import java.util.Random;

public class test {
    public static void main(String[] args) {
        Tiger t = new Tiger(2,4);
        Rabbit r = new Rabbit(1,2);
        t.eat();
        r.eat();

    }
}
